package com.wyj.gateway.config.properties;

import lombok.Data;
import lombok.Getter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * TODO:
 *
 * @author wuyijie
 * @date 2022/2/11 1:39 PM
 */
@Data
@Component
@ConfigurationProperties(prefix = "base")
public class BaseProperties {
    private WhiteList whiteList;


    @Data
    public static class WhiteList{
        private List<String> api;
    }
}
